<%@ Page Language="C#" MasterPageFile="~/SFMaster.master" AutoEventWireup="true" CodeFile="MultilanguageSettings.aspx.cs" Inherits="Admin_MultilanguageSettings"  %>
<%@ Register Assembly="WebControls" Namespace="WebControls" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderMain" Runat="Server">
<table width=100%>
    <tr>
        <td>
            <cc1:SFLabel ID="lblPage" runat="server"></cc1:SFLabel>
        </td>
        <td>
            <cc1:SFDropDownList ID="sfdPages" ControlsLabel="lblPage" runat="server" OnNeedsDataSource="sfdPages_NeedsDataSource"></cc1:SFDropDownList>    
        </td>
    </tr>
    <tr>
        <td>
            <cc1:SFLabel ID="lblLanguage" runat="server"></cc1:SFLabel>
        </td>
        <td>
            <cc1:SFDropDownList ID="sfdLanguage" ControlsLabel="lblLanguage" runat="server" OnNeedsDataSource="sfdLanguage_NeedsDataSource" ></cc1:SFDropDownList>    
        </td>
    </tr>
    <tr>
        <td>
        
        </td>
        <td>
            <cc1:SFButton ID="btnList" runat="server" OnClick="btnList_Click" />
        </td>
    </tr>
</table>
    <table width=100%>
        <tr>
            <td>
                <cc1:SFGrid ID="sfgMultilanguageSettings" runat="server" AutoGenerateColumns="False" IsMasterPageControl="False" IsProtectedForLanguageChange="False"
                 OnNeedsDataSource="sfgMultilanguageSettings_NeedsDataSource" OnRowCommand="sfgMultilanguageSettings_RowCommand">
        <Columns>
            <asp:TemplateField>
                <itemtemplate>
                <asp:ImageButton id="ibtEdit" runat="server" CommandName="EditData" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"MultilanguageSettingId") %>' ImageUrl="~/images/edit.gif"></asp:ImageButton>
            </itemtemplate>
            </asp:TemplateField>
            <asp:TemplateField>
                <itemtemplate>
                <asp:ImageButton id="ibtDelete" runat="server" CommandName="DeleteData" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"MultilanguageSettingId") %>' ImageUrl="~/images/delete.gif"></asp:ImageButton>
            </itemtemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="ControlId"></asp:BoundField>
            <asp:BoundField DataField="ControlText"></asp:BoundField>
        </Columns>
                </cc1:SFGrid>
                <cc1:SFButton ID="btnNew" runat="server" OnClick="btnNew_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderEdit" Runat="Server">
<table>
    <tr>
        <td>
            <cc1:SFLabel ID="lblControlId" runat="server"></cc1:SFLabel>
        </td>
        <td>
            <cc1:SFTextBox ID="txtControlId"  ControlsLabel="lblControlId" runat="server" ></cc1:SFTextBox>
        </td>
    </tr>
    <tr>
        <td>
            <cc1:SFLabel ID="lblControlText" runat="server"></cc1:SFLabel>
        </td>
        <td>
            <cc1:SFTextBox ID="txtControlText" ControlsLabel="lblControlText" runat="server" ></cc1:SFTextBox>
        </td>
    </tr>
</table>
</asp:Content>

